<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/template/template2.xhtml">
	<ui:define name="content1">
		<div class="container">
		<span style="vertical-allign:midle">
			Welcome user <h:outputText value="#{userBean.loggedUser.name}"/> </span>
			<div style="margin-left:auto;margin-right:auto">
			<p:graphicImage style="padding-left:40%" value="/resources/images/mainPic.jpg" width="320"
					height="240" />
			
			</div>
		</div>






	</ui:define>
</ui:composition>
